package com.zhucan.account.application.query;

import com.zhucan.account.application.query.dto.AccountBalanceDTO;
import com.zhucan.account.application.query.dto.AccountDTO;
import com.zhucan.account.application.query.dto.PageDTO;
import com.zhucan.account.application.query.qry.AccountBalanceQry;
import com.zhucan.account.application.query.qry.AccountQry;

/**
 * author: zhuCan
 * date: 2020/8/4 20:07
 * description:
 */
public interface AccountQueryService {

  /**
   * 账户分页条件检索
   *
   * @param qry
   * @return
   */
  PageDTO<AccountDTO> page(AccountQry qry);

  /**
   * 账户余额查询
   *
   * @param qry
   * @return
   */
  AccountBalanceDTO balance(AccountBalanceQry qry);

}
